package net.sk.china.city.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 协议列表对象 ar_agreement
 * 
 * @author gxf
 * @date 2024-04-17
 */
public class ArAgreement
{
    private static final long serialVersionUID = 1L;

    /** 协议id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 协议名 */
    private String agreementName;

    /** 协议内容 */
    private String content;

    /** 协议状态（0：不使用，1：使用） */
    private String agreementStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAgreementName(String agreementName) 
    {
        this.agreementName = agreementName;
    }

    public String getAgreementName() 
    {
        return agreementName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAgreementStatus(String agreementStatus) 
    {
        this.agreementStatus = agreementStatus;
    }

    public String getAgreementStatus() 
    {
        return agreementStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agreementName", getAgreementName())
            .append("content", getContent())
            .append("agreementStatus", getAgreementStatus())
            .toString();
    }
}
